package com.javacrafting.mifos.domain;

public class InterestTypeImpl implements InterestType {

	private Short id;
	private String description;
	private LookupValueImpl lookupValue; 

	public InterestTypeImpl() {
		// default constructor for hibernate
	}

	public Short getId() {
		return id;
	}

	public void setId(Short id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public LookupValueImpl getLookupValue() {
		return lookupValue;
	}

	public void setLookupValue(LookupValueImpl lookupValue) {
		this.lookupValue = lookupValue;
	}
	
	public String interestRateTypePropertyKey() {
		return lookupValue.getValue();
	}
}
